import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    /** 音视频标识 */
    mediaVideoFlag: -1,
  },
  getters: {
    mediaVideoFlag: state => state.mediaVideoFlag,
  },
  mutations: {
    /** 显示用户头像 */
    setMediaVideoFlag(state, value) {
      state.mediaVideoFlag = value
    }
  }
 
})
